<!DOCTYPE html>
<html>
  <head>
    <meta charset="UTF-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Service Worker demo</title>
    <link rel="stylesheet" href="./assets/css/layout.css" />
  </head>

  <body>
    <p>
      pic1:<img  src="./assets/images/bg1.jpg" width="520" height="250"
      />
      pic2:<img src="./assets/images/bg2.jpg" width="520" height="250" />
    </p>
    <p>Service Worker demo 注册状体：<span class="text" id="register"></span></p>


    <dialog class="dialog" id="myDialog">
      <div class="dialogContent">
        <p>检查到网页存在更新，请立即刷新</p>
        <button type="submit" onclick="location.reload()">确定</button>
      </div>
    </dialog>

    <script src="./src/index.js" type="text/javascript"></script>
  </body>
</html>
